package com.yuan.springcloud.dao;

import com.yuan.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: jinshengyuan
 * Date: 2019-03-22
 * Time: 10:46
 * description: 部门dao
 **/
@Mapper
public interface DeptDao {
    boolean addDept(Dept dept);
    Dept getDeptById(Long id);
    List<Dept> getAll();
}
